home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / tcoop.arc / TCOOP2.ARC / MCURSOR.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1991-10-26  |  1.6 KB  |  52 lines

  1. #include "msmouse.h"
  2.  
  3. const MouseCursor ArrowCursor = {
  4.   { 0, 0 }, // Set hot spot to tip of arrow 
  5.   { 0x3FFF,0x1FFF,0x0FFF,0x07FF,  // Screen mask 
  6.     0x03FF,0x01FF,0x00FF,0x007F,
  7.     0x003F,0x00FF,0x01FF,0x10FF,
  8.     0x30FF,0xF87F,0xF87F,0xFC3F }, 
  9.   { 0x0000,0x4000,0x6000,0x7000,  // Cursor mask 
  10.     0x7800,0x7C00,0x7E00,0x7F00,
  11.     0x7F80,0x7E00,0x7C00,0x4600,
  12.     0x0600,0x0300,0x0300,0x0180 }
  13. };
  14.  
  15. const MouseCursor HandCursor = {
  16.   { 4, 0 }, // Hot spot at tip of pointing finger 
  17.   { 0xF3FF,0xE1FF,0xE1FF,0xE1FF, // Screen mask 
  18.     0xE001,0xE000,0xE000,0xE000,
  19.     0x8000,0x0000,0x0000,0x0000,
  20.     0x0000,0x0000,0x8001,0xC003 },
  21.   { 0x0C00,0x1200,0x1200,0x1200, // Cursor mask 
  22.     0x13FE,0x1249,0x1249,0x1249,
  23.     0x7249,0x9001,0x9001,0x9001,
  24.     0x8001,0x8001,0x4002,0x3FFC}
  25. };
  26.  
  27. const MouseCursor LeftRightCursor = {
  28.   { 8, 8 }, // Hot spot in middle of arrow 
  29.   { 0xffff,0xffff,0xfbdf,0xf3cf, // Screen mask 
  30.     0xe3c7,0xc003,0x8001,0x0000,
  31.     0x8001,0xc003,0xe3c7,0xf3cf,
  32.     0xfbdf,0xffff,0xffff,0xffff }, 
  33.   { 0x0000,0x0000,0x0420,0x0c30, // Cursor mask 
  34.     0x1428,0x27e4,0x4002,0x8001,
  35.     0x4002,0x27e4,0x1428,0x0c30,
  36.     0x0420,0x0000,0x0000,0x0000 }
  37. };
  38.  
  39. const MouseCursor UpDownCursor = {
  40.   { 8, 8 }, // Hot spot in middle of arrow 
  41.   { 0xfeff,0xfcff,0xf83f,0xf01f, // Screen mask 
  42.     0xe00f,0xc007,0xf83f,0xf83f,
  43.     0xf83f,0xf83f,0xc007,0xe00f,
  44.     0xf01f,0xf83f,0xfc7f,0xfeff },
  45.   { 0x0100,0x0280,0x0440,0x0820, // Cursor mask 
  46.     0x1010,0x3c78,0x0440,0x0440,
  47.     0x0440,0x0440,0x3c78,0x1010,
  48.     0x0820,0x0440,0x0280,0x0100 }
  49. };
  50.  
  51.  
  52.